Skip to content

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

The way compiler test mixin classes were added to the actual model test classes was flawed as it was making the non-compilation tests dependent on the flags required to be True by the compiler test mixins.

If we run pytest tests/models/unets/test_models_unet_2d_condition.py -k "device_map", for example, from the main it will be entirely skipped. This shouldn't happen.

This PR fixes this behavior.

@sayakpaul sayakpaul requested a review from DN6 June 9, 2025 03:40
@sayakpaul sayakpaul merged commit 7c6e9ef into main Jun 9, 2025
12 checks passed
@sayakpaul sayakpaul deleted the fix-compiler-tester-mixins branch June 9, 2025 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants